public class Contact extends Common<Contact>
Sub-Elements are Address
, Email
, TelephoneFax
Example:
<Contact cls="U"> <Serial cls="U">USA:AF:CN:123</Serial> <EntryDateTime cls="U">2004-05-20T00:00:00Z</EntryDateTime> <FirstName cls="U">John</FirstName> <LastName cls="U">Doe</LastName> <TelephoneFax> <Number cls="U">(123)456.789</Number> </TelephoneFax> </Contact>
approvedBy, approvedDateTime, caseNum, cls, description, entryBy, entryByRole, entryDateTime, extReferenceRef, extReferences, idref, lastChangeBy, lastChangeByRole, lastChangeDateTime, lastObservedBy, lastReviewBy, lastReviewByRole, lastReviewDate, legacyReleasability, modAllowedBy, modAllowedByRole, observedFirstDateTime, observedLastDateTime, owner, ownerRole, quality, recommendedValue, redacted, releasability, remarkRef, remarks, securityClass, serial, state
Constructor and Description |
---|
Contact()
No arg constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<Address> |
getAddress()
Get the Address
|
D |
getEffectiveDate()
Get the date by which the dataset is to be operational or effective..
|
Set<EMail> |
getEMail()
Get the Email
|
D |
getExpirationDate()
Get the date at which the dataset will expire.
|
S30 |
getFirstName()
Get the first name of the contact individual..
|
S30 |
getLastName()
Get the last name of the contact individual..
|
D |
getReviewDate()
Get the date by which the dataset is to be reviewed.
|
Set<TelephoneFax> |
getTelephoneFax()
Get the TelephoneFax
|
S10 |
getTitleRank()
Get the contact title or rank e.g., Ms, Col, etc..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetAddress()
Determine if the Address is configured.
|
boolean |
isSetEffectiveDate()
Determine if the EffectiveDate is configured.
|
boolean |
isSetEMail()
Determine if the EMail is configured.
|
boolean |
isSetExpirationDate()
Determine if the ExpirationDate is configured.
|
boolean |
isSetFirstName()
Determine if the FirstName is configured.
|
boolean |
isSetLastName()
Determine if the LastName is configured.
|
boolean |
isSetReviewDate()
Determine if the ReviewDate is configured.
|
boolean |
isSetTelephoneFax()
Determine if the TelephoneFax is configured.
|
boolean |
isSetTitleRank()
Determine if the TitleRank is configured.
|
void |
setEffectiveDate(D value)
Set the date by which the dataset is to be operational or effective..
|
void |
setExpirationDate(D value)
Set the date at which the dataset will expire.
|
void |
setFirstName(S30 value)
Set the first name of the contact individual..
|
void |
setLastName(S30 value)
Set the last name of the contact individual..
|
void |
setReviewDate(D value)
Set the date by which the dataset is to be reviewed.
|
void |
setTitleRank(S10 value)
Set the contact title or rank e.g., Ms, Col, etc..
|
String |
toString()
Get a string representation of this Contact instance configuration.
|
void |
unsetAddress()
Clear the Address field.
|
void |
unsetEMail()
Clear the EMail field.
|
void |
unsetTelephoneFax()
Clear the TelephoneFax field.
|
Contact |
withAddress(Address... values)
Set the Address
|
Contact |
withAddress(Collection<Address> values)
Set the Address
|
Contact |
withEffectiveDate(Calendar value)
Set the date by which the dataset is to be operational or effective.
|
Contact |
withEffectiveDate(Date value)
Set the date by which the dataset is to be operational or effective.
|
Contact |
withEMail(Collection<EMail> values)
Set the Email
|
Contact |
withEMail(EMail... values)
Set the Email
|
Contact |
withExpirationDate(Calendar value)
Set the date at which the dataset will expire.
|
Contact |
withExpirationDate(Date value)
Set the date at which the dataset will expire.
|
Contact |
withFirstName(String value)
Set the first name of the contact individual.
|
Contact |
withLastName(String value)
Set the last name of the contact individual.
|
Contact |
withReviewDate(Calendar value)
Set the date by which the dataset is to be reviewed.
|
Contact |
withReviewDate(Date value)
Set the date by which the dataset is to be reviewed.
|
Contact |
withTelephoneFax(Collection<TelephoneFax> values)
Set the TelephoneFax
|
Contact |
withTelephoneFax(TelephoneFax... values)
Set the TelephoneFax
|
Contact |
withTitleRank(String value)
Set the contact title or rank e.g., Ms, Col, etc.
|
compareTo, equals, getApprovedBy, getApprovedDateTime, getCaseNum, getCls, getDescription, getEntryBy, getEntryByRole, getEntryDateTime, getExtReferenceRef, getExtReferences, getIdref, getLastChangeBy, getLastChangeByRole, getLastChangeDateTime, getLastObservedBy, getLastReviewBy, getLastReviewByRole, getLastReviewDate, getLegacyReleasability, getModAllowedBy, getModAllowedByRole, getObservedFirstDateTime, getObservedLastDateTime, getOwner, getOwnerRole, getQuality, getRecommendedValue, getRedacted, getReleasability, getRemarkRef, getRemarks, getSecurityClass, getSerial, getState, hashCode, isSetApprovedBy, isSetApprovedDateTime, isSetCaseNum, isSetCls, isSetDescription, isSetEntryBy, isSetEntryByRole, isSetEntryDateTime, isSetExtReferenceRef, isSetExtReferences, isSetIdref, isSetLastChangeBy, isSetLastChangeByRole, isSetLastChangeDateTime, isSetLastObservedBy, isSetLastReviewBy, isSetLastReviewByRole, isSetLastReviewDate, isSetLegacyReleasability, isSetModAllowedBy, isSetModAllowedByRole, isSetObservedFirstDateTime, isSetObservedLastDateTime, isSetOwner, isSetOwnerRole, isSetQuality, isSetRecommendedValue, isSetRedacted, isSetReleasability, isSetRemarkRef, isSetRemarks, isSetSecurityClass, isSetSerial, isSetState, postLoad, prepare, setApprovedBy, setApprovedDateTime, setCls, setDescription, setEntryBy, setEntryDateTime, setIdref, setLastChangeBy, setLastChangeDateTime, setLastObservedBy, setLastReviewBy, setLastReviewDate, setLegacyReleasability, setModAllowedBy, setObservedFirstDateTime, setObservedLastDateTime, setOwner, setQuality, setRecommendedValue, setRedacted, setSecurityClass, setSerial, setState, unsetCaseNum, unsetExtReferenceRef, unsetExtReferences, unsetReleasability, unsetRemarkRef, unsetRemarks, withApprovedBy, withApprovedDateTime, withApprovedDateTime, withCaseNum, withCaseNum, withCls, withDescription, withEntryBy, withEntryByRole, withEntryDateTime, withExtReferenceRef, withExtReferenceRef, withExtReferences, withExtReferences, withExtReferences, withIdref, withLastChangeBy, withLastChangeByRole, withLastChangeDateTime, withLastChangeDateTime, withLastObservedBy, withLastReviewBy, withLastReviewByRole, withLastReviewDate, withLastReviewDate, withLegacyReleasability, withModAllowedBy, withModAllowedByRole, withObservedFirstDateTime, withObservedFirstDateTime, withObservedLastDateTime, withObservedLastDateTime, withOwner, withOwnerRole, withQuality, withRecommendedValue, withRedacted, withReleasability, withReleasability, withRemarkRef, withRemarkRef, withRemarkRef, withRemarks, withRemarks, withSecurityClass, withSerial, withState
public Contact()
public D getEffectiveDate()
D
instancepublic void setEffectiveDate(D value)
value
- a D
instancepublic boolean isSetEffectiveDate()
public D getExpirationDate()
D
instancepublic void setExpirationDate(D value)
value
- a D
instancepublic boolean isSetExpirationDate()
public D getReviewDate()
D
instancepublic void setReviewDate(D value)
value
- a D
instancepublic boolean isSetReviewDate()
public S10 getTitleRank()
S10
instancepublic void setTitleRank(S10 value)
value
- a S10
instancepublic boolean isSetTitleRank()
public S30 getFirstName()
S30
instancepublic void setFirstName(S30 value)
value
- a S30
instancepublic boolean isSetFirstName()
public S30 getLastName()
S30
instancepublic void setLastName(S30 value)
value
- a S30
instancepublic boolean isSetLastName()
public Set<Address> getAddress()
Complex element Address contains the address of a Contact, Organisation or Role..
Address
instancepublic boolean isSetAddress()
public void unsetAddress()
public Set<TelephoneFax> getTelephoneFax()
Complex element TelephoneFax reflects the telephone and/or telefax number(s) of the Contact, Organisation or Role..
TelephoneFax
instancepublic boolean isSetTelephoneFax()
public void unsetTelephoneFax()
public Set<EMail> getEMail()
Complex element Email contains the email address of the Contact or Role..
EMail
instancepublic boolean isSetEMail()
public void unsetEMail()
public Contact withEffectiveDate(Calendar value)
value
- An instances of type Calendar
.public Contact withEffectiveDate(Date value)
value
- An instances of type Date
.public Contact withExpirationDate(Calendar value)
value
- An instances of type Calendar
.public Contact withExpirationDate(Date value)
value
- An instances of type Date
.public Contact withReviewDate(Calendar value)
value
- An instances of type Calendar
.public Contact withReviewDate(Date value)
value
- An instances of type Date
.public Contact withTitleRank(String value)
value
- An instances of type String
.public Contact withFirstName(String value)
value
- An instances of type String
.public Contact withLastName(String value)
value
- An instances of type String
.public Contact withAddress(Address... values)
Complex element Address contains the address of a Contact, Organisation or Role.
values
- One or more instances of type Address...
.public Contact withAddress(Collection<Address> values)
Complex element Address contains the address of a Contact, Organisation or Role.
values
- A collection of Address
instancespublic Contact withTelephoneFax(TelephoneFax... values)
Complex element TelephoneFax reflects the telephone and/or telefax number(s) of the Contact, Organisation or Role.
values
- One or more instances of type TelephoneFax...
.public Contact withTelephoneFax(Collection<TelephoneFax> values)
Complex element TelephoneFax reflects the telephone and/or telefax number(s) of the Contact, Organisation or Role.
values
- A collection of TelephoneFax
instancespublic Contact withEMail(EMail... values)
Complex element Email contains the email address of the Contact or Role.
values
- One or more instances of type EMail...
.public Contact withEMail(Collection<EMail> values)
Complex element Email contains the email address of the Contact or Role.
values
- A collection of EMail
instancespublic String toString()
public boolean isSet()
Copyright © 2016 OpenSSRF.org. All rights reserved.