org.qedeq.kernel.se.dto.module
Class UsedByListVo

java.lang.Object
  extended by org.qedeq.kernel.se.dto.module.UsedByListVo
All Implemented Interfaces:
UsedByList

public class UsedByListVo
extends java.lang.Object
implements UsedByList

List of modules which use the current one.

Author:
Michael Meyling

Constructor Summary
UsedByListVo()
          Constructs an empty list of used by modules.
 
Method Summary
 void add(SpecificationVo specification)
          Add specification of module.
 boolean equals(java.lang.Object obj)
           
 Specification get(int index)
          Get index-th element of list.
 int hashCode()
           
 int size()
          Get size of list.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsedByListVo

public UsedByListVo()
Constructs an empty list of used by modules.

Method Detail

add

public final void add(SpecificationVo specification)
Add specification of module.

Parameters:
specification - Module specification

size

public final int size()
Description copied from interface: UsedByList
Get size of list.

Specified by:
size in interface UsedByList
Returns:
List size.

get

public final Specification get(int index)
Description copied from interface: UsedByList
Get index-th element of list.

Specified by:
get in interface UsedByList
Parameters:
index - Index.
Returns:
Index-th element.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.