Package org.projecthusky.common.model
Class VendorInformation
java.lang.Object
org.projecthusky.common.model.VendorInformation
Class that contains information about a vendor and its applications.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.VendorInformation
(String vendorName, String productName, String moduleName, String contactInformation) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the contact informationGets the module nameGets the application name.Gets the vendor namevoid
setContactInformation
(String contactInformation) Sets the contact informationvoid
setModuleName
(String moduleName) Sets the module name.void
setProductName
(String productName) Sets the application namevoid
setVendorName
(String name) Sets the vendors name.
-
Field Details
-
DEFAULT_CONTACT_INFORMATION
- See Also:
-
DEFAULT_MODULE_NAME
- See Also:
-
DEFAULT_PRODUCT_NAME
- See Also:
-
DEFAULT_VENDOR_NAME
- See Also:
-
-
Constructor Details
-
VendorInformation
public VendorInformation()Constructor. husky default values will be used (see DEFAULT_* constants of this class, accordingly). -
VendorInformation
public VendorInformation(String vendorName, String productName, String moduleName, String contactInformation) Constructor. Individual values can be provided.- Parameters:
vendorName
- Vendors (company) nameproductName
- name of the productmoduleName
- name of the module, which was used inside the applicationcontactInformation
- contact information
-
-
Method Details
-
getContactInformation
Gets the contact information- Returns:
- contact information
-
setContactInformation
Sets the contact information- Parameters:
contactInformation
- the contact information
-
getModuleName
Gets the module name- Returns:
- the modules name
-
setModuleName
Sets the module name.- Parameters:
moduleName
- name of the module
-
getProductName
Gets the application name.- Returns:
- application name
-
setProductName
Sets the application name- Parameters:
productName
- name of the application
-
getVendorName
Gets the vendor name- Returns:
- the vendors name
-
setVendorName
Sets the vendors name.- Parameters:
name
- name of the vendor
-