modified: .gitignore new file: Semester 2/LabJuneauValidateUserInput/Printed HTMLs/Company.html new file: Semester 2/LabJuneauValidateUserInput/Printed HTMLs/Employee.html new file: Semester 2/LabJuneauValidateUserInput/Printed HTMLs/EmployeeController.html new file: Semester 2/LabJuneauValidateUserInput/Printed HTMLs/EmployeeInterface.html new file: Semester 2/LabJuneauValidateUserInput/Printed HTMLs/EmployeeTitleValidate.html new file: Semester 2/LabJuneauValidateUserInput/Printed HTMLs/index.html new file: Semester 2/LabJuneauValidateUserInput/nb-configuration.xml new file: Semester 2/LabJuneauValidateUserInput/pom.xml new file: Semester 2/LabJuneauValidateUserInput/src/main/java/com/pap/exam/labjuneauvalidateuserinput/JakartaRestConfiguration.java new file: Semester 2/LabJuneauValidateUserInput/src/main/java/com/pap/exam/labjuneauvalidateuserinput/resources/JakartaEE9Resource.java new file: Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/beans/EmployeeController.java new file: Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/Company.java new file: Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/Employee.java new file: Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/EmployeeInterface.java new file: Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/validators/EmployeeTitleValidate.java new file: Semester 2/LabJuneauValidateUserInput/src/main/resources/META-INF/persistence.xml new file: Semester 2/LabJuneauValidateUserInput/src/main/webapp/WEB-INF/beans.xml new file: Semester 2/LabJuneauValidateUserInput/src/main/webapp/WEB-INF/glassfish-web.xml new file: Semester 2/LabJuneauValidateUserInput/src/main/webapp/WEB-INF/web.xml new file: Semester 2/LabJuneauValidateUserInput/src/main/webapp/index.xhtml new file: Semester 2/LabJuneauValidateUserInput/src/main/webapp/resources/css/1.css new file: Semester 2/LabJuneauValidateUserInput/src/main/webapp/resources/images/1.png modified: Semester 2/LabJuneauValidateUserInput_CalebFontenot/src/main/java/bl/Company.java deleted: Semester 2/ZIPs/LabJuneauValidateUserInput_CalebFontenot.zip
		
			
				
	
	
		
			65 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
<title>Employee.java</title>
 | 
						|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
 | 
						|
<style type="text/css">
 | 
						|
<!--
 | 
						|
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
 | 
						|
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
 | 
						|
table {color: #888888; background-color: #313335; font-family: monospace}
 | 
						|
.ST0 {color: #9876aa}
 | 
						|
.ST1 {color: #ffc66d}
 | 
						|
.whitespace {color: #505050}
 | 
						|
.literal {color: #cc7832}
 | 
						|
-->
 | 
						|
</style>
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
<table width="100%"><tr><td align="center">/home/caleb/ASDV-WebDev/Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/Employee.java</td></tr></table>
 | 
						|
<pre>
 | 
						|
<span class="literal">package</span> edu.slcc.asdv.bl;
 | 
						|
 | 
						|
<span class="literal">import</span> java.io.Serializable;
 | 
						|
 | 
						|
<span class="literal">public</span> <span class="literal">class</span> Employee <span class="literal">implements</span> Serializable
 | 
						|
{
 | 
						|
 | 
						|
    <span class="literal">private</span> String <span class="ST0">employeeFirst</span>;
 | 
						|
    <span class="literal">private</span> String <span class="ST0">employeeLast</span>;
 | 
						|
    <span class="literal">private</span> String <span class="ST0">employeeTitle</span>;
 | 
						|
    <span class="literal">private</span> String <span class="ST0">photo</span>;
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    <span class="literal">public</span> Employee(String first, 
 | 
						|
            String last, String title, 
 | 
						|
            String photo)
 | 
						|
    {
 | 
						|
        <span class="ST0">employeeFirst</span> = first;
 | 
						|
        <span class="ST0">employeeLast</span> = last;
 | 
						|
        <span class="ST0">employeeTitle</span> = title;
 | 
						|
        <span class="literal">this</span>.<span class="ST0">photo</span> = photo;
 | 
						|
    }
 | 
						|
 | 
						|
    <span class="literal">public</span> String <span class="ST1">getEmployeeFirst</span>() { <span class="literal">return</span> <span class="ST0">employeeFirst</span>; }
 | 
						|
 | 
						|
    <span class="literal">public</span> <span class="literal">void</span> <span class="ST1">setEmployeeFirst</span>(String employeeFirst){ <span class="literal">this</span>.<span class="ST0">employeeFirst</span> = employeeFirst;}
 | 
						|
 | 
						|
    <span class="literal">public</span> String <span class="ST1">getEmployeeLast</span>(){<span class="literal">return</span> <span class="ST0">employeeLast</span>;}
 | 
						|
 | 
						|
    <span class="literal">public</span> <span class="literal">void</span> <span class="ST1">setEmployeeLast</span>(String employeeLast){<span class="literal">this</span>.<span class="ST0">employeeLast</span> = employeeLast;}
 | 
						|
 | 
						|
    <span class="literal">public</span> String <span class="ST1">getEmployeeTitle</span>(){<span class="literal">return</span> <span class="ST0">employeeTitle</span>; }
 | 
						|
 | 
						|
    <span class="literal">public</span> <span class="literal">void</span> <span class="ST1">setEmployeeTitle</span>(String employeeTitle){ <span class="literal">this</span>.<span class="ST0">employeeTitle</span> = employeeTitle; }
 | 
						|
 | 
						|
    <span class="literal">public</span> String <span class="ST1">getPhoto</span>(){<span class="literal">return</span> <span class="ST0">photo</span>;}
 | 
						|
 | 
						|
    <span class="literal">public</span> <span class="literal">void</span> <span class="ST1">setPhoto</span>(String photo){<span class="literal">this</span>.<span class="ST0">photo</span> = photo;}
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
</pre></body>
 | 
						|
</html>
 |