|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFDataObject
com.edustructures.sifworks.hrfin.VendorInfo
public class VendorInfo
This object contains basic vendor information. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
VendorInfo()
Constructor |
|
VendorInfo(java.lang.String refId,
java.lang.String name)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addEmail(Email value)
Adds a new <Email> child element. |
void |
addEmail(EmailType type,
java.lang.String value)
Adds a new <Email> repeatable element. |
void |
addPhoneNumber(PhoneNumber value)
Adds a new <PhoneNumber> child element. |
void |
addPhoneNumber(PhoneNumberType type,
java.lang.String number)
Adds a new <PhoneNumber> repeatable element. |
Address |
getAddress()
Gets the value of the <Address> element. |
ContactInfo |
getContactInfo()
Gets the value of the <ContactInfo> element. |
java.lang.String |
getContactName()
Gets the value of the <ContactName> element. |
java.lang.String |
getCustomerId()
Gets the value of the <CustomerId> element. |
Email |
getEmail(EmailType type)
Gets an Email object instance. |
Email[] |
getEmails()
Gets all Email object instances. |
java.lang.String |
getEmployeePersonalRefId()
Gets the value of the <EmployeePersonalRefId> element. |
FederalTaxId |
getFederalTaxId()
Gets the value of the <FederalTaxId> element. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.lang.String |
getName()
Gets the value of the <Name> element. |
PhoneNumber |
getPhoneNumber(PhoneNumberType type)
Gets a PhoneNumber object instance. |
PhoneNumber[] |
getPhoneNumbers()
Gets all PhoneNumber object instances. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.lang.Boolean |
getSend1099()
Gets the value of the <Send1099> element. |
void |
removeAddress()
Removes the Address child element previously created by calling setAddress |
void |
removeContactInfo()
Removes the ContactInfo child element previously created by calling setContactInfo |
void |
removeEmail(EmailType type)
Removes an Email object instance. |
void |
removeFederalTaxId()
Removes the FederalTaxId child element previously created by calling setFederalTaxId |
void |
removePhoneNumber(PhoneNumberType type)
Removes a PhoneNumber object instance. |
void |
setAddress(Address value)
Sets the value of the <Address> element. |
void |
setAddress(AddressType type,
Street street,
java.lang.String city,
StatePrCode stateProvince,
CountryCode country,
java.lang.String postalCode)
Sets the value of the <Address> child element. |
void |
setContactInfo(ContactInfo value)
Sets the value of the <ContactInfo> element. |
void |
setContactInfo(Name name)
Sets the value of the <ContactInfo> child element. |
void |
setContactName(java.lang.String value)
Sets the value of the <ContactName> element. |
void |
setCustomerId(java.lang.String value)
Sets the value of the <CustomerId> element. |
void |
setEmails(Email[] emails)
Sets an array of Email objects. |
void |
setEmployeePersonalRefId(java.lang.String value)
Sets the value of the <EmployeePersonalRefId> element. |
void |
setFederalTaxId(FederalTaxId value)
Sets the value of the <FederalTaxId> element. |
void |
setFederalTaxId(FederalTaxIdCode code,
java.lang.String value)
Sets the value of the <FederalTaxId> child element. |
void |
setName(java.lang.String value)
Sets the value of the <Name> element. |
void |
setPhoneNumbers(PhoneNumber[] phonenumbers)
Sets an array of PhoneNumber objects. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSend1099(java.lang.Boolean value)
Sets the value of the <Send1099> element. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VendorInfo()
public VendorInfo(java.lang.String refId,
java.lang.String name)
refId - Vendor ID.name - Name of the vendor.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getRefId()
RefId attribute.
The SIF specification defines the meaning of this attribute as: "Vendor ID."
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "Vendor ID."
value - A String objectpublic java.lang.String getName()
<Name> element.
The SIF specification defines the meaning of this element as: "Name of the vendor."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "VendorName" |
| SIF2.0 | "Name" |
Name element of this object.public void setName(java.lang.String value)
<Name> element.
The SIF specification defines the meaning of this element as: "Name of the vendor."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "VendorName" |
| SIF2.0 | "Name" |
value - A String objectpublic void setContactInfo(ContactInfo value)
<ContactInfo> element.
The SIF specification defines the meaning of this element as: "Contact information."
value - A ContactInfo objectpublic void setContactInfo(Name name)
<ContactInfo> child element.
This form of setContactInfo is provided as a convenience method
that is functionally equivalent to the version of setContactInfo
that accepts a single ContactInfo object.
name - The name of the contact person.public ContactInfo getContactInfo()
<ContactInfo> element.
The SIF specification defines the meaning of this element as: "Contact information."
ContactInfo objectpublic void removeContactInfo()
ContactInfo child element previously created by calling setContactInfo
public void setAddress(Address value)
<Address> element.
The SIF specification defines the meaning of this element as: "This element has the staff member's address information (in SIF 2.x use the ContactInfo element)"
value - A Address object
public void setAddress(AddressType type,
Street street,
java.lang.String city,
StatePrCode stateProvince,
CountryCode country,
java.lang.String postalCode)
<Address> child element.
This form of setAddress is provided as a convenience method
that is functionally equivalent to the version of setAddress
that accepts a single Address object.
type - Code that defines the location of the address. Note: A subset of specific valid values for each instance in a data object may be listed in that object.street - The street part of the addresscity - The city part of the address.stateProvince - The state or province code.country - The country code.postalCode - The ZIP/postal code.public Address getAddress()
<Address> element.
The SIF specification defines the meaning of this element as: "This element has the staff member's address information (in SIF 2.x use the ContactInfo element)"
Address objectpublic void removeAddress()
Address child element previously created by calling setAddress
public void addPhoneNumber(PhoneNumber value)
<PhoneNumber> child element.
The SIF specification defines the meaning of this element as: "This is the vendor's phone number (In SIF 2.x use the ContactInfo element)"
value - A PhoneNumber object
public void addPhoneNumber(PhoneNumberType type,
java.lang.String number)
<PhoneNumber> repeatable element.
This form of setPhoneNumber is provided as a convenience method
that is functionally equivalent to the version of setPhoneNumber
that accepts a single PhoneNumber object.
type - Code that specifies what type of phone number this is. Note: A subset of valid values may be specified in data objects.number - Phone number. Acceptable formats:public void removePhoneNumber(PhoneNumberType type)
PhoneNumber object instance. More than one instance can be defined for this object because it is a repeatable field element.
type - Identifies the PhoneNumber object to remove by its Type valuepublic PhoneNumber getPhoneNumber(PhoneNumberType type)
PhoneNumber object instance. More than one instance can be defined for this object because it is a repeatable field element.
type - Identifies the PhoneNumber object to return by its "Type" attribute value
PhoneNumber objectpublic PhoneNumber[] getPhoneNumbers()
PhoneNumber object instances. More than one instance can be defined for this object because it is a repeatable field element.
PhoneNumber objectspublic void setPhoneNumbers(PhoneNumber[] phonenumbers)
PhoneNumber objects. All existing
PhoneNumber instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all PhoneNumbers.
public void addEmail(Email value)
<Email> child element.
The SIF specification defines the meaning of this element as: "This is the vendor's email address number (In SIF 2.x use the ContactInfo element)"
value - A Email object
public void addEmail(EmailType type,
java.lang.String value)
<Email> repeatable element.
This form of setEmail is provided as a convenience method
that is functionally equivalent to the version of setEmail
that accepts a single Email object.
type - This attribute specifies the type of e-mail address.value - Gets or sets the content value of the <Email> elementpublic void removeEmail(EmailType type)
Email object instance. More than one instance can be defined for this object because it is a repeatable field element.
type - Identifies the Email object to remove by its Type valuepublic Email getEmail(EmailType type)
Email object instance. More than one instance can be defined for this object because it is a repeatable field element.
type - Identifies the Email object to return by its "Type" attribute value
Email objectpublic Email[] getEmails()
Email object instances. More than one instance can be defined for this object because it is a repeatable field element.
Email objectspublic void setEmails(Email[] emails)
Email objects. All existing
Email instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all Emails.
public java.lang.String getContactName()
<ContactName> element.
The SIF specification defines the meaning of this element as: "Contact of salesperson name (In SIF 2.x use the ContactInfo element)"
ContactName element of this object.public void setContactName(java.lang.String value)
<ContactName> element.
The SIF specification defines the meaning of this element as: "Contact of salesperson name (In SIF 2.x use the ContactInfo element)"
value - A String objectpublic java.lang.String getCustomerId()
<CustomerId> element.
The SIF specification defines the meaning of this element as: "Account number or other ID."
CustomerId element of this object.public void setCustomerId(java.lang.String value)
<CustomerId> element.
The SIF specification defines the meaning of this element as: "Account number or other ID."
value - A String objectpublic java.lang.String getEmployeePersonalRefId()
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: " When the vendor and employee are the same, it may be appropriate to link the EmployeePersonal records to the VendorInfo when tracking expense and tuition reimbursement. This is the GUID of the associated EmployeePersonal object. "
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "EmployeeId" |
| SIF2.0 | "EmployeePersonalRefId" |
EmployeePersonalRefId element of this object.public void setEmployeePersonalRefId(java.lang.String value)
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: " When the vendor and employee are the same, it may be appropriate to link the EmployeePersonal records to the VendorInfo when tracking expense and tuition reimbursement. This is the GUID of the associated EmployeePersonal object. "
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "EmployeeId" |
| SIF2.0 | "EmployeePersonalRefId" |
value - A String objectpublic java.lang.Boolean getSend1099()
<Send1099> element.
The SIF specification defines the meaning of this element as: "Send 1099 to this vendor."
Send1099 element of this object.public void setSend1099(java.lang.Boolean value)
<Send1099> element.
The SIF specification defines the meaning of this element as: "Send 1099 to this vendor."
value - A Boolean objectpublic void setFederalTaxId(FederalTaxId value)
<FederalTaxId> element.
The SIF specification defines the meaning of this element as: "Taxpayer identification number/Federal tax ID for this vendor."
value - A FederalTaxId object
public void setFederalTaxId(FederalTaxIdCode code,
java.lang.String value)
<FederalTaxId> child element.
This form of setFederalTaxId is provided as a convenience method
that is functionally equivalent to the version of setFederalTaxId
that accepts a single FederalTaxId object.
code - The type tax ID that this is. TIN based on IRS Publication 1915 [IRSTIN].value - Gets or sets the content value of the <FederalTaxId> elementpublic FederalTaxId getFederalTaxId()
<FederalTaxId> element.
The SIF specification defines the meaning of this element as: "Taxpayer identification number/Federal tax ID for this vendor."
FederalTaxId objectpublic void removeFederalTaxId()
FederalTaxId child element previously created by calling setFederalTaxId
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||