erius
822dba1f63
command line functionality in no longer client-only added ability to save data using command on server app refactor of CommandLineHandler added CommandLineHandlerClient and CommandLineHandlerServer classes other minor changes
368 lines
14 KiB
HTML
368 lines
14 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="ru">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>Serialized Form (Lab5Core 2.2 API)</title>
|
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Serialized Form (Lab5Core 2.2 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="overview-summary.html">Overview</a></li>
|
|
<li>Package</li>
|
|
<li>Class</li>
|
|
<li><a href="overview-tree.html">Tree</a></li>
|
|
<li><a href="deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="index-all.html">Index</a></li>
|
|
<li><a href="help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
|
|
<li><a href="serialized-form.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="header">
|
|
<h1 title="Serialized Form" class="title">Serialized Form</h1>
|
|
</div>
|
|
<div class="serializedFormContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h2 title="Package">Package common.collection</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="common.collection.Database.DatabaseLoadFailedException">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/collection/Database.DatabaseLoadFailedException.html" title="class in common.collection">common.collection.Database.DatabaseLoadFailedException</a> extends java.lang.Exception implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.collection.Database.DatabaseSaveFailedException">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/collection/Database.DatabaseSaveFailedException.html" title="class in common.collection">common.collection.Database.DatabaseSaveFailedException</a> extends java.lang.Exception implements Serializable</h3>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList">
|
|
<h2 title="Package">Package common.commandline</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="common.commandline.Command">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/Command.html" title="class in common.commandline">common.commandline.Command</a> extends java.lang.Object implements Serializable</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h3>Serialized Fields</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alias</h4>
|
|
<pre>java.lang.String alias</pre>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>description</h4>
|
|
<pre>java.lang.String description</pre>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>clientOnly</h4>
|
|
<pre>boolean clientOnly</pre>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>executable</h4>
|
|
<pre><a href="common/commandline/Executable.html" title="interface in common.commandline">Executable</a> executable</pre>
|
|
</li>
|
|
<li class="blockListLast">
|
|
<h4>args</h4>
|
|
<pre>java.lang.Object[] args</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandLineHandler.CommandLineNotInitialized">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandLineHandler.CommandLineNotInitialized.html" title="class in common.commandline">common.commandline.CommandLineHandler.CommandLineNotInitialized</a> extends java.lang.RuntimeException implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandLineHandler.ExecuteScriptCommand">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandLineHandler.ExecuteScriptCommand.html" title="class in common.commandline">common.commandline.CommandLineHandler.ExecuteScriptCommand</a> extends <a href="common/commandline/Command.html" title="class in common.commandline">Command</a> implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandLineHandler.ExitCommand">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandLineHandler.ExitCommand.html" title="class in common.commandline">common.commandline.CommandLineHandler.ExitCommand</a> extends <a href="common/commandline/Command.html" title="class in common.commandline">Command</a> implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandLineHandler.HistoryCommand">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandLineHandler.HistoryCommand.html" title="class in common.commandline">common.commandline.CommandLineHandler.HistoryCommand</a> extends <a href="common/commandline/Command.html" title="class in common.commandline">Command</a> implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandLineHandler.SaveCommand">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandLineHandler.SaveCommand.html" title="class in common.commandline">common.commandline.CommandLineHandler.SaveCommand</a> extends <a href="common/commandline/pdcommands/PeopleDatabaseCommand.html" title="class in common.commandline.pdcommands">PeopleDatabaseCommand</a> implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandRegistry.CommandAlreadyExistsException">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandRegistry.CommandAlreadyExistsException.html" title="class in common.commandline">common.commandline.CommandRegistry.CommandAlreadyExistsException</a> extends java.lang.RuntimeException implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandRegistry.CommandNotFoundException">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandRegistry.CommandNotFoundException.html" title="class in common.commandline">common.commandline.CommandRegistry.CommandNotFoundException</a> extends java.lang.RuntimeException implements Serializable</h3>
|
|
</li>
|
|
<li class="blockList"><a name="common.commandline.CommandRegistry.HelpCommand">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/CommandRegistry.HelpCommand.html" title="class in common.commandline">common.commandline.CommandRegistry.HelpCommand</a> extends <a href="common/commandline/Command.html" title="class in common.commandline">Command</a> implements Serializable</h3>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList">
|
|
<h2 title="Package">Package common.commandline.pdcommands</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="common.commandline.pdcommands.PeopleDatabaseCommand">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/pdcommands/PeopleDatabaseCommand.html" title="class in common.commandline.pdcommands">common.commandline.pdcommands.PeopleDatabaseCommand</a> extends <a href="common/commandline/Command.html" title="class in common.commandline">Command</a> implements Serializable</h3>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList">
|
|
<h2 title="Package">Package common.commandline.response</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="common.commandline.response.CommandResult">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/commandline/response/CommandResult.html" title="class in common.commandline.response">common.commandline.response.CommandResult</a> extends java.lang.Object implements Serializable</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h3>Serialized Fields</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>value</h4>
|
|
<pre>java.lang.String value</pre>
|
|
</li>
|
|
<li class="blockListLast">
|
|
<h4>response</h4>
|
|
<pre><a href="common/commandline/response/Response.html" title="interface in common.commandline.response">Response</a> response</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList">
|
|
<h2 title="Package">Package common.data</h2>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="common.data.Coordinates">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/data/Coordinates.html" title="class in common.data">common.data.Coordinates</a> extends java.lang.Object implements Serializable</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h3>Serialized Fields</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>x</h4>
|
|
<pre>float x</pre>
|
|
<div class="block">Координата X типа float</div>
|
|
</li>
|
|
<li class="blockListLast">
|
|
<h4>y</h4>
|
|
<pre>java.lang.Float y</pre>
|
|
<div class="block">Координата Y типа float, значение должно быть больше -816</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList"><a name="common.data.Location">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/data/Location.html" title="class in common.data">common.data.Location</a> extends java.lang.Object implements Serializable</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h3>Serialized Fields</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>x</h4>
|
|
<pre>double x</pre>
|
|
<div class="block">Координата X типа double</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>y</h4>
|
|
<pre>float y</pre>
|
|
<div class="block">Координата Y типа float</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>z</h4>
|
|
<pre>long z</pre>
|
|
<div class="block">Координата Z типа long, не может быть null</div>
|
|
</li>
|
|
<li class="blockListLast">
|
|
<h4>name</h4>
|
|
<pre>java.lang.String name</pre>
|
|
<div class="block">Имя локации, может быть null</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="blockList"><a name="common.data.Person">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Class <a href="common/data/Person.html" title="class in common.data">common.data.Person</a> extends java.lang.Object implements Serializable</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h3>Serialized Fields</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>id</h4>
|
|
<pre>java.lang.Long id</pre>
|
|
<div class="block">Id человека, не может быть null, значение поля должно быть больше 0,
|
|
значение этого поля должно быть уникальным, значение этого поля должно генерироваться автоматически</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>name</h4>
|
|
<pre>java.lang.String name</pre>
|
|
<div class="block">Имя человека, не может быть null, строка не может быть пустой</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>coordinates</h4>
|
|
<pre><a href="common/data/Coordinates.html" title="class in common.data">Coordinates</a> coordinates</pre>
|
|
<div class="block">Координаты человека, не может быть null</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>creationDate</h4>
|
|
<pre>java.time.LocalDate creationDate</pre>
|
|
<div class="block">Дата создания объекта, не может быть null, значение этого поля должно генерироваться автоматически</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>height</h4>
|
|
<pre>java.lang.Integer height</pre>
|
|
<div class="block">Рост человека, может быть null, значение поля должно быть больше 0</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>passportID</h4>
|
|
<pre>java.lang.String passportID</pre>
|
|
<div class="block">Номер паспорта человека, длина строки должна быть не меньше 8, поле может быть null</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>eyeColor</h4>
|
|
<pre><a href="common/data/Color.html" title="enum in common.data">Color</a> eyeColor</pre>
|
|
<div class="block">Цвет глаз человека, не может быть null</div>
|
|
</li>
|
|
<li class="blockList">
|
|
<h4>nationality</h4>
|
|
<pre><a href="common/data/Country.html" title="enum in common.data">Country</a> nationality</pre>
|
|
<div class="block">Национальность человека, не может быть null</div>
|
|
</li>
|
|
<li class="blockListLast">
|
|
<h4>location</h4>
|
|
<pre><a href="common/data/Location.html" title="class in common.data">Location</a> location</pre>
|
|
<div class="block">Местоположение человека, может быть null</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="overview-summary.html">Overview</a></li>
|
|
<li>Package</li>
|
|
<li>Class</li>
|
|
<li><a href="overview-tree.html">Tree</a></li>
|
|
<li><a href="deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="index-all.html">Index</a></li>
|
|
<li><a href="help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
|
|
<li><a href="serialized-form.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|