Package devices
Interface Item
-
- All Known Implementing Classes:
AudioPlayer,AudioSpeaker,MobileDevice,MoviePlayer,Product,Screen,Widget
public interface ItemMain Item Object of Items/Products that are produced.- Author:
- Brandon Heck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmployeegetEmployee()Accessor to get the Employee Object to the Item.intgetId()Accessor for the ID type.ItemTypegetItemType()Accessor to get the Item Type of the Item.java.lang.StringgetManufacturer()Accessor to get the Manufacturer Name of the Item.java.lang.StringgetName()Accessor to get the Name of the Item.voidsetEmployee(Employee employee)Mutator to set the Employee actor to the Item.voidsetItemType(ItemType type)Mutator to set the Item Type of the Item.voidsetManufacturer(java.lang.String name)Mutator to set the Manufacturer Name of the Item.voidsetName(java.lang.String name)Mutator to set the Name of the Item.
-
-
-
Method Detail
-
getId
int getId()
Accessor for the ID type.- Returns:
- The ID of the Item.
-
setName
void setName(java.lang.String name)
Mutator to set the Name of the Item.- Parameters:
name- String to set the Item name to.
-
getName
java.lang.String getName()
Accessor to get the Name of the Item.- Returns:
- The Name of the Item.
-
setManufacturer
void setManufacturer(java.lang.String name)
Mutator to set the Manufacturer Name of the Item.- Parameters:
name- String to set the Item Manufacture name to.
-
getManufacturer
java.lang.String getManufacturer()
Accessor to get the Manufacturer Name of the Item.- Returns:
- The Manufacturer Name of the Item.
-
setItemType
void setItemType(ItemType type)
Mutator to set the Item Type of the Item.- Parameters:
type- Item Type object to declare the object as.
-
getItemType
ItemType getItemType()
Accessor to get the Item Type of the Item.- Returns:
- The Item Type of the Item.
-
setEmployee
void setEmployee(Employee employee)
Mutator to set the Employee actor to the Item.- Parameters:
employee- The Employee object that authorized the Item.
-
getEmployee
Employee getEmployee()
Accessor to get the Employee Object to the Item.- Returns:
- The Employee Object of the Item.
-
-