Rev 34 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 34 | Rev 35 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | *
|
35 | *
|
36 | * @return an ArrayList with all the relationshops - in case of a problem, an
|
36 | * @return an ArrayList with all the relationshops - in case of a problem, an
|
37 | * empty list is returned
|
37 | * empty list is returned
|
38 | */
|
38 | */
|
39 | @SuppressWarnings("unchecked") |
39 | @SuppressWarnings("unchecked") |
40 | public List<Relationship> listRelationships() |
40 | public List<Relationship> getRelationshipList() |
41 | {
|
41 | {
|
42 | List<Relationship> relationship = null; |
42 | List<Relationship> relationship = null; |
43 | try
|
43 | try
|
44 | {
|
44 | {
|
45 | relationship = this.session.createQuery("from Relationship").list(); //$NON-NLS-1$ |
45 | relationship = this.session.createQuery("from Relationship").list(); //$NON-NLS-1$ |