public class UnitDAO extends Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
UnitDAO() |
Modifier and Type | Method and Description |
---|---|
Unit |
getOrInsertUnit(String unit,
org.hibernate.Session session)
Insert and get unit object
|
Unit |
getUnit(String unit,
org.hibernate.Session session)
Get unit object for unit
|
Copyright © 2012-2014 52north.org. All Rights Reserved.