ca.infoway.messagebuilder.xml
Class Interaction

Package class diagram package Interaction
java.lang.Object
  extended by ca.infoway.messagebuilder.xml.Interaction
All Implemented Interfaces:
Named, Categorizable, Documentable, HasDifferences

public class Interaction
extends Object
implements Categorizable, HasDifferences, Named, Documentable

A class that models the interaction.

Author:
Intelliware Development

Constructor Summary
Interaction()
           
 
Method Summary
 void addDifference(Difference difference)
           
 Argument getArgumentByTemplateParameterName(String templateParameterName)
          Locate a particular template parameter argument by template parameter name.
 List<Argument> getArguments()
          Get the list of template arguments.
 String getBusinessName()
          Get the business name.
 String getCategory()
          Get the category.
 List<Difference> getDifferences()
          Tracks an interaction difference for regen
 Documentation getDocumentation()
          Get the documentation.
 String getName()
          Get the type name of the interaction.
 String getSuperTypeName()
          Get the type name of the parent type (or super type).
 void setArguments(List<Argument> arguments)
          Set the list of template arguments.
 void setBusinessName(String businessName)
          Set the business name.
 void setCategory(String category)
          Set the category.
 void setDifferences(List<Difference> differences)
           
 void setDocumentation(Documentation documentation)
          Set the documentation.
 void setName(String name)
          Set the name.
 void setSuperTypeName(String superTypeName)
          Set the type name of the parent type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interaction

public Interaction()
Method Detail

getName

public String getName()

Get the type name of the interaction. For example, a name might be PRPA_IN101103CA.

Specified by:
getName in interface Named
Returns:
the name

setName

public void setName(String name)

Set the name.

Parameters:
name - - the new value

getSuperTypeName

public String getSuperTypeName()

Get the type name of the parent type (or super type).

Returns:
the type name of the parent type

setSuperTypeName

public void setSuperTypeName(String superTypeName)

Set the type name of the parent type.

Parameters:
superTypeName - - the new parent type name.

getArguments

public List<Argument> getArguments()

Get the list of template arguments.

Returns:
the template arguments

setArguments

public void setArguments(List<Argument> arguments)

Set the list of template arguments.

Parameters:
arguments - - the template arguments

getBusinessName

public String getBusinessName()

Get the business name. A business name might be "Find Candidates Query".

Returns:
the business name

setBusinessName

public void setBusinessName(String businessName)

Set the business name.

Parameters:
businessName - - the new business name.

getDocumentation

public Documentation getDocumentation()

Get the documentation.

Specified by:
getDocumentation in interface Documentable
Returns:
- the documentation

setDocumentation

public void setDocumentation(Documentation documentation)

Set the documentation.

Specified by:
setDocumentation in interface Documentable
Parameters:
documentation - - the new documentation

getArgumentByTemplateParameterName

public Argument getArgumentByTemplateParameterName(String templateParameterName)

Locate a particular template parameter argument by template parameter name.

Parameters:
templateParameterName - - the template parameter name
Returns:
- the argument that corresponds to the name.

getCategory

public String getCategory()

Get the category.

Specified by:
getCategory in interface Categorizable
Returns:
the category

setCategory

public void setCategory(String category)

Set the category.

Parameters:
category - - the new category

getDifferences

public List<Difference> getDifferences()
Tracks an interaction difference for regen

Specified by:
getDifferences in interface HasDifferences
Returns:
the difference

setDifferences

public void setDifferences(List<Difference> differences)

addDifference

public void addDifference(Difference difference)
Specified by:
addDifference in interface HasDifferences


Copyright © 2013. All Rights Reserved.