protected UsedByRelation () {
}
// Initialization constructors
- protected UsedByRelation (Document from, Document to) {
+ protected UsedByRelation (final Document from, final Document to) {
// -----------------------------------------------------
super(from);
this.refer = to;
this.reverse = new UsesRelation(this, to, from);
}
// Internal constructor
- protected UsedByRelation (Relation back, Document from, Document to) {
+ protected UsedByRelation (final Relation back, final Document from, final Document to) {
// --------------------------------------------------------------------
super(from);
this.refer = to;
// Public member functions
// ==============================================================================================================================
- public Class<? extends Relation> getReverseClass () {
+ @Override
+ public Class<? extends Relation> getReverseClass () {
// ---------------------------------------------------
return UsesRelation.class;
}
- public Document getTo () {
+ @Override
+ public Document getTo () {
// -------------------------
return refer;
}
- public boolean isBidirectional () {
+ @Override
+ public boolean isBidirectional () {
// ---------------------------------
return true;
}
- protected void setTo (Persistent to) {
+ @Override
+ public void setTo (final Persistent to) {
// ------------------------------------
refer = (Document)to;
}