edu.iastate.metnet.model
Class EntityPart

java.lang.Object
  extended by edu.iastate.metnet.model.EntityPart

public class EntityPart
extends java.lang.Object

store the information for interactionparts

Author:
Jie Li

Field Summary
(package private) static org.apache.log4j.Logger logger
           
 
Constructor Summary
EntityPart()
           
EntityPart(java.lang.String name, java.lang.String entityType, java.lang.String location, java.lang.Integer coefficient)
           
 
Method Summary
 java.lang.Integer getCoefficient()
           
 java.lang.String getEntityType()
           
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 void setCoefficient(java.lang.Integer coefficient)
           
 void setEntityType(java.lang.String entityType)
           
 void setLocation(java.lang.String location)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
Constructor Detail

EntityPart

public EntityPart()

EntityPart

public EntityPart(java.lang.String name,
                  java.lang.String entityType,
                  java.lang.String location,
                  java.lang.Integer coefficient)
Method Detail

getEntityType

public java.lang.String getEntityType()
Returns:
Returns the entityType.

setEntityType

public void setEntityType(java.lang.String entityType)
Parameters:
entityType - The entityType to set.

getLocation

public java.lang.String getLocation()
Returns:
Returns the location.

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - The location to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getCoefficient

public java.lang.Integer getCoefficient()
Returns:
Returns the coefficient.

setCoefficient

public void setCoefficient(java.lang.Integer coefficient)
Parameters:
coefficient - The coefficient to set.