This method of the Entity class retrieves the name of the entity.
public Name getName();
Returns the Name object containing the entity name.