Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.io.impl.internal
Class NamedEntityBean

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.io.impl.internal.NamedEntityBean

public class NamedEntityBean
extends Object

A name associated with an entity bean

Author:
Simon Templer

Constructor Summary
NamedEntityBean()
          Default constructor
NamedEntityBean(String name, Entity entity)
          Create a named entity bean and initialize it using the given entity
 
Method Summary
 EntityBean<?> getEntity()
          Get the entity bean
 String getName()
          Get the entity name
 void setEntity(EntityBean<?> entity)
          Set the entity bean
 void setName(String name)
          Set the entity name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedEntityBean

public NamedEntityBean()
Default constructor


NamedEntityBean

public NamedEntityBean(String name,
                       Entity entity)
Create a named entity bean and initialize it using the given entity

Parameters:
name - the entity name
entity - the entity
Method Detail

getName

public String getName()
Get the entity name

Returns:
the name

setName

public void setName(String name)
Set the entity name

Parameters:
name - the name to set

getEntity

public EntityBean<?> getEntity()
Get the entity bean

Returns:
the entity

setEntity

public void setEntity(EntityBean<?> entity)
Set the entity bean

Parameters:
entity - the entity to set

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d