ca.infoway.messagebuilder.xml
Class PackageLocation

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

public class PackageLocation
extends Object
implements Categorizable, HasDifferences, Named

The package location. Each package location corresponds with one MIF file.

Author:
Intelliware Development

Constructor Summary
PackageLocation()
          The default constructor.
PackageLocation(String name)
          Standard constructor.
 
Method Summary
 void addDifference(Difference difference)
           
 String getCategory()
          Get the category.
 String getDescriptiveName()
          Get the descriptive name.
 List<Difference> getDifferences()
          Tracks package location differences for regen
 Map<String,MessagePart> getMessageParts()
          Get a map of all message parts, keyed by fully-qualified type name.
 String getName()
          Get the name.
 String getRootType()
          The name of the top-level class defined by the MIF file.
 void setCategory(String category)
          Set the category, such as "cr" (Client Registry).
 void setDescriptiveName(String descriptiveName)
          Set the descriptive name.
 void setDifferences(List<Difference> differences)
           
 void setMessageParts(Map<String,MessagePart> messageParts)
          Set the map of all message parts.
 void setName(String name)
          Set the name.
 void setRootType(String rootType)
          Set the name of the top-level class defined by the MIF file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageLocation

public PackageLocation()

The default constructor.


PackageLocation

public PackageLocation(String name)

Standard constructor.

Parameters:
name - the name of the package location
Method Detail

getName

public String getName()

Get the name. e.g. "PRPA_MT101103CA"

Specified by:
getName in interface Named
Returns:
the name

setName

public void setName(String name)

Set the name.

Parameters:
name - - the new name

getRootType

public String getRootType()

The name of the top-level class defined by the MIF file.

Returns:
the root type name.

setRootType

public void setRootType(String rootType)

Set the name of the top-level class defined by the MIF file.

Parameters:
rootType - - the root type name.

getMessageParts

public Map<String,MessagePart> getMessageParts()

Get a map of all message parts, keyed by fully-qualified type name.

Returns:
- the map

setMessageParts

public void setMessageParts(Map<String,MessagePart> messageParts)

Set the map of all message parts.

Parameters:
messageParts - - the new value

getDescriptiveName

public String getDescriptiveName()

Get the descriptive name.

Returns:
the descriptive name.

setDescriptiveName

public void setDescriptiveName(String descriptiveName)

Set the descriptive name.

Parameters:
descriptiveName - - the new value

setCategory

public void setCategory(String category)

Set the category, such as "cr" (Client Registry).

Parameters:
category - - the new value

getCategory

public String getCategory()

Get the category.

Specified by:
getCategory in interface Categorizable
Returns:
the category

getDifferences

public List<Difference> getDifferences()
Tracks package location differences for regen

Specified by:
getDifferences in interface HasDifferences
Returns:
the differences

setDifferences

public void setDifferences(List<Difference> differences)

addDifference

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


Copyright © 2013. All Rights Reserved.