org.jaffa.components.codehelper.dto
Class CodeHelperOutDto

java.lang.Object
  extended byorg.jaffa.components.codehelper.dto.CodeHelperOutDto

public class CodeHelperOutDto
extends Object

The is the output of the ICodeHelper. It will contain zero or more CodeHelperOutElementDto objects, corresponding to the number of domainClassName values passed in the input. In turn, each CodeHelperOutElementDto may contain zero or more CodeHelperOutCodeDto objects.

Author:
GautamJ

Constructor Summary
CodeHelperOutDto()
          Creates new CodeHelperOutElementDto
 
Method Summary
 void addCodeHelperOutElementDto(CodeHelperOutElementDto codeHelperOutElementDto)
          Add a codeHelperOutElementDto to the list
 void clearCodeHelperOutElementDtos()
          Clear the list of codeHelperOutElementDto
 CodeHelperOutElementDto getCodeHelperOutElementDto(int index)
          Return a codeHelperOutElementDto at the specified position in the list
 int getCodeHelperOutElementDtoCount()
          Returns the number of codeHelperOutElementDto in the list
 CodeHelperOutElementDto[] getCodeHelperOutElementDtos()
          Returns an array of codeHelperOutElementDto
 boolean removeCodeHelperOutElementDto(CodeHelperOutElementDto codeHelperOutElementDto)
          Remove a codeHelperOutElementDto from the list
 void setCodeHelperOutElementDto(CodeHelperOutElementDto codeHelperOutElementDto, int index)
          Add a codeHelperOutElementDto at the specified position in the list
 void setCodeHelperOutElementDtos(CodeHelperOutElementDto[] codeHelperOutElementDtos)
          Recreate the internal list with the input array of codeHelperOutElementDto
 String toString()
          Returns diagnostic information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeHelperOutDto

public CodeHelperOutDto()
Creates new CodeHelperOutElementDto

Method Detail

addCodeHelperOutElementDto

public void addCodeHelperOutElementDto(CodeHelperOutElementDto codeHelperOutElementDto)
Add a codeHelperOutElementDto to the list

Parameters:
codeHelperOutElementDto - A codeHelperOutElementDto

setCodeHelperOutElementDto

public void setCodeHelperOutElementDto(CodeHelperOutElementDto codeHelperOutElementDto,
                                       int index)
Add a codeHelperOutElementDto at the specified position in the list

Parameters:
codeHelperOutElementDto - A codeHelperOutElementDto
index - The position in the list

setCodeHelperOutElementDtos

public void setCodeHelperOutElementDtos(CodeHelperOutElementDto[] codeHelperOutElementDtos)
Recreate the internal list with the input array of codeHelperOutElementDto

Parameters:
codeHelperOutElementDtos - An array of codeHelperOutElementDto

clearCodeHelperOutElementDtos

public void clearCodeHelperOutElementDtos()
Clear the list of codeHelperOutElementDto


removeCodeHelperOutElementDto

public boolean removeCodeHelperOutElementDto(CodeHelperOutElementDto codeHelperOutElementDto)
Remove a codeHelperOutElementDto from the list

Parameters:
codeHelperOutElementDto - The codeHelperOutElementDto to be removed
Returns:
true if this list contained the specified element

getCodeHelperOutElementDto

public CodeHelperOutElementDto getCodeHelperOutElementDto(int index)
Return a codeHelperOutElementDto at the specified position in the list

Parameters:
index - The position in the list
Returns:
The codeHelperOutElementDto

getCodeHelperOutElementDtos

public CodeHelperOutElementDto[] getCodeHelperOutElementDtos()
Returns an array of codeHelperOutElementDto

Returns:
An array of codeHelperOutElementDto

getCodeHelperOutElementDtoCount

public int getCodeHelperOutElementDtoCount()
Returns the number of codeHelperOutElementDto in the list

Returns:
The number of codeHelperOutElementDto in the list

toString

public String toString()
Returns diagnostic information.

Returns:
diagnostic information.


Copyright © 2002-2004 JAFFA Project.