org.LexGrid.LexBIG.Impl.helpers
Interface CodeHolder

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
AdditiveCodeHolder
All Known Implementing Classes:
DefaultCodeHolder

public interface CodeHolder
extends java.io.Serializable, java.lang.Cloneable

The Interface CodeHolder.

Author:
Kevin Peterson

Method Summary
 CodeHolder clone()
           
 boolean contains(CodeToReturn code)
          Contains.
 void difference(CodeHolder otherCodes)
          Difference.
 java.util.List<CodeToReturn> getAllCodes()
          Gets the all codes.
 int getNumberOfCodes()
          Gets the number of codes.
 void intersect(CodeHolder otherCodes)
          Intersect.
 void remove(CodeToReturn code)
          Removes the.
 void union(CodeHolder otherCodes)
          Union.
 

Method Detail

difference

void difference(CodeHolder otherCodes)
Difference.

Parameters:
otherCodes - the other codes

union

void union(CodeHolder otherCodes)
Union.

Parameters:
otherCodes - the other codes

intersect

void intersect(CodeHolder otherCodes)
Intersect.

Parameters:
otherCodes - the other codes

contains

boolean contains(CodeToReturn code)
Contains.

Parameters:
code - the code
Returns:
true, if successful

getAllCodes

java.util.List<CodeToReturn> getAllCodes()
Gets the all codes.

Returns:
the all codes

remove

void remove(CodeToReturn code)
Removes the.

Parameters:
code - the code

getNumberOfCodes

int getNumberOfCodes()
Gets the number of codes.

Returns:
the number of codes

clone

CodeHolder clone()
                 throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.