Index

A B C D F G I M N O P R S T U V W _ 
All Classes and Interfaces|All Packages

A

Aggregate<T> - Interface in it.tidalwave.role
The role of an aggregate object, that is an object which contains other named objects.

B

BinaryReadable - Interface in it.tidalwave.role.io
The role of an object that can be read as a stream of bytes.
BinaryWritable - Interface in it.tidalwave.role.io
The role of an object that can be written as a stream of bytes.

C

Composite<T,F> - Interface in it.tidalwave.role
The role of a composite object, that is an object which contains children.
Composite.Visitor<T,R> - Interface in it.tidalwave.role
A visitor that can travel through the Composite items.

D

DEFAULT - Static variable in interface it.tidalwave.role.Composite
A default Composite with no children.
DEFAULT - Static variable in interface it.tidalwave.role.io.BinaryReadable
A default implementation which throws IOException when opening the stream.
DEFAULT - Static variable in interface it.tidalwave.role.io.BinaryWritable
A default implementation which throws IOException when opening the stream.
DEFAULT - Static variable in interface it.tidalwave.role.io.TextReadable
A default implementation which throws IOException when opening the stream.
DEFAULT - Static variable in interface it.tidalwave.role.io.TextWritable
A default implementation which throws IOException when opening the stream.
DEFAULT - Static variable in interface it.tidalwave.role.Removable
A default Removable which does nothing (useful for implementing the NullObject pattern).
DEFAULT - Static variable in interface it.tidalwave.role.Sortable
A default Sortable which does nothing (useful for implementing the NullObject pattern).

F

findChildren() - Method in interface it.tidalwave.role.Composite
Returns the children of this object.
forEach(Consumer<? super T>) - Method in interface it.tidalwave.role.Composite
Iterates through children.

G

getByName(String) - Method in interface it.tidalwave.role.Aggregate
Returns an object given its name.
getId() - Method in interface it.tidalwave.role.Identifiable
Returns the identifier.
getNames() - Method in interface it.tidalwave.role.Aggregate
Returns the names of contained objects.
getSortCriterion() - Method in interface it.tidalwave.role.Sortable
Returns the current sort criterion.
getSortDirection() - Method in interface it.tidalwave.role.Sortable
Returns the current sort direction.
getValue() - Method in interface it.tidalwave.role.Composite.Visitor
Returns the value of this visitor.

I

Identifiable - Interface in it.tidalwave.role
The role of an object that can expose a unique identifier.
it.tidalwave.role - package it.tidalwave.role
 
it.tidalwave.role.io - package it.tidalwave.role.io
 
it.tidalwave.role.io.spi - package it.tidalwave.role.io.spi
 

M

marshal(OutputStream) - Method in interface it.tidalwave.role.io.Marshallable
Marshals this object to an OutputStream.
Marshallable - Interface in it.tidalwave.role.io
The role of an object that can be marshalled to an OutputStream.

N

newInstance() - Static method in interface it.tidalwave.role.Aggregate
Returns a new empty instance that will be populated by means of Aggregate.with(String, Object).

O

of(Finder<U>) - Static method in interface it.tidalwave.role.SimpleComposite
Returns a wrapped SimpleComposite on a given Finder.
of(Id) - Static method in interface it.tidalwave.role.Identifiable
Returns a default instance which returns the given id.
of(String, T) - Static method in interface it.tidalwave.role.Aggregate
Returns a new instance with the specified (name, value) pair.
of(Map<String, T>) - Static method in interface it.tidalwave.role.Aggregate
Returns a new instance with the specified (name, value) pairs.
ofCloned(Collection<? extends U>) - Static method in interface it.tidalwave.role.SimpleComposite
Returns a wrapped SimpleComposite on a given collection of elements.
openReader() - Method in class it.tidalwave.role.io.spi.PathTextReadable
Returns a Reader to read from the object.
openReader() - Method in interface it.tidalwave.role.io.TextReadable
Returns a Reader to read from the object.
openStream() - Method in interface it.tidalwave.role.io.BinaryReadable
Returns an InputStream.
openStream() - Method in interface it.tidalwave.role.io.BinaryWritable
Returns an OutputStream to write into the object.
openStream() - Method in class it.tidalwave.role.io.spi.PathBinaryReadable
Returns an InputStream.
openStream() - Method in class it.tidalwave.role.io.spi.PathBinaryWritable
Returns an OutputStream to write into the object.
openWriter() - Method in class it.tidalwave.role.io.spi.PathTextWritable
Returns a Writer to write into the object..
openWriter() - Method in interface it.tidalwave.role.io.TextWritable
Returns a Writer to write into the object..

P

PathBinaryReadable - Class in it.tidalwave.role.io.spi
An implementation of BinaryReadable which delegates to a Path.
PathBinaryReadable(Path, OpenOption...) - Constructor for class it.tidalwave.role.io.spi.PathBinaryReadable
Creates an instance with the given path and options.
PathBinaryWritable - Class in it.tidalwave.role.io.spi
An implementation of BinaryWritable which delegates to a Path.
PathBinaryWritable(Path, OpenOption...) - Constructor for class it.tidalwave.role.io.spi.PathBinaryWritable
Creates an instance with the given path and options.
PathTextReadable - Class in it.tidalwave.role.io.spi
An implementation of TextReadable which delegates to a Path.
PathTextReadable(Path) - Constructor for class it.tidalwave.role.io.spi.PathTextReadable
Creates an instance with the given path and options.
PathTextReadable(Path, Charset) - Constructor for class it.tidalwave.role.io.spi.PathTextReadable
Creates an instance with the given path and options.
PathTextWritable - Class in it.tidalwave.role.io.spi
An implementation of TextWritable which delegates to a Path.
PathTextWritable(Path) - Constructor for class it.tidalwave.role.io.spi.PathTextWritable
Creates an instance with the given path and options.
PathTextWritable(Path, Charset, OpenOption...) - Constructor for class it.tidalwave.role.io.spi.PathTextWritable
Creates an instance with the given path and options.
persist() - Method in interface it.tidalwave.role.io.Persistable
Persists this object to some implicit, or context-provided persistence facility.
Persistable - Interface in it.tidalwave.role.io
The role of an object that can be persisted.
postVisit(T) - Method in interface it.tidalwave.role.Composite.Visitor
Visits an object.
preVisit(T) - Method in interface it.tidalwave.role.Composite.Visitor
Visits an object.

R

Removable - Interface in it.tidalwave.role
The role of an object that can be removed (e.g. deleted).
remove() - Method in interface it.tidalwave.role.Removable
Removes this object from some implicit, or context-provided container (e.g. a persistence facility, etc...).

S

setSortCriterion(Finder.SortCriterion) - Method in interface it.tidalwave.role.Sortable
Sets the sort criterion.
setSortDirection(Finder.SortDirection) - Method in interface it.tidalwave.role.Sortable
Sets the sort direction.
SimpleComposite<T> - Interface in it.tidalwave.role
A simple Composite that uses the default Finder.
Sortable - Interface in it.tidalwave.role
The role of an object that has contents that can be sorted.
stream() - Method in interface it.tidalwave.role.Composite
Returns a stream of children.

T

TextReadable - Interface in it.tidalwave.role.io
The role of an object that can be read as a stream of characters.
TextWritable - Interface in it.tidalwave.role.io
The role of an object that can be written as a stream of characters.

U

unmarshal(InputStream) - Method in interface it.tidalwave.role.io.Unmarshallable
Unmarshalls the object from the given InputStream.
Unmarshallable - Interface in it.tidalwave.role.io
The role of an object that can be unmarshalled.

V

visit(T) - Method in interface it.tidalwave.role.Composite.Visitor
Visits an object.

W

with(String, T) - Method in interface it.tidalwave.role.Aggregate
Returns a new instance with the specified (name, value) pair.

_

_Aggregate_ - Static variable in interface it.tidalwave.role.Aggregate
 
_BinaryReadable_ - Static variable in interface it.tidalwave.role.io.BinaryReadable
 
_BinaryWritable_ - Static variable in interface it.tidalwave.role.io.BinaryWritable
 
_Composite_ - Static variable in interface it.tidalwave.role.Composite
 
_Identifiable_ - Static variable in interface it.tidalwave.role.Identifiable
 
_Marshallable_ - Static variable in interface it.tidalwave.role.io.Marshallable
 
_Persistable_ - Static variable in interface it.tidalwave.role.io.Persistable
 
_Removable_ - Static variable in interface it.tidalwave.role.Removable
 
_SimpleComposite_ - Static variable in interface it.tidalwave.role.SimpleComposite
 
_Sortable_ - Static variable in interface it.tidalwave.role.Sortable
 
_TextReadable_ - Static variable in interface it.tidalwave.role.io.TextReadable
 
_TextWritable_ - Static variable in interface it.tidalwave.role.io.TextWritable
 
_Unmarshallable_ - Static variable in interface it.tidalwave.role.io.Unmarshallable
 
A B C D F G I M N O P R S T U V W _ 
All Classes and Interfaces|All Packages