Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 33 → Rev 34

/trunk/src/ch/ffhs/webE/domain/Term.java
45,6 → 45,12
0);
 
/**
* @var <code>true</code> if the term is edited/renamed, <code>false</code>
* otherwise
*/
public boolean edit = false;
 
/**
* No-op constructor
*/
public Term()
130,7 → 136,7
this.name = name;
}
 
@OneToMany(fetch = FetchType.LAZY, mappedBy = "termByTermTo")
@OneToMany(fetch = FetchType.LAZY, mappedBy = "termTo")
public Set<Relationship> getRelationshipsForTermTo()
{
return this.relationshipsForTermTo;
147,7 → 153,7
/**
* @return
*/
@OneToMany(fetch = FetchType.LAZY, mappedBy = "termByTermFrom")
@OneToMany(fetch = FetchType.LAZY, mappedBy = "termFrom")
public Set<Relationship> getRelationshipsForTermFrom()
{
return this.relationshipsForTermFrom;