public class View extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
Vector<String> |
aliases
List of aliases from view
|
Vector<String> |
lines
SQL Code for view
|
String |
name
Name of view
|
int |
start
Code starts at line
|
Vector<String> |
users
Users of the view
|
| Constructor and Description |
|---|
View()
Constructs the view with proper defaults
|
| Modifier and Type | Method and Description |
|---|---|
Vector<String> |
getAliases() |
Vector<String> |
getLines() |
String |
getName() |
Vector<String> |
getUsers() |
boolean |
hasAlias(String s)
Checks if view has alias
|
boolean |
hasUser(String s)
Checks if view has user
|
void |
reader(DataInputStream ids) |
String |
toString() |
void |
writer(DataOutputStream ods) |
public String name
public int start
public String getName()
public void reader(DataInputStream ids) throws IOException
IOExceptionpublic void writer(DataOutputStream ods) throws IOException
IOExceptionpublic boolean hasAlias(String s)
public boolean hasUser(String s)
Copyright © 2019. All rights reserved.