Commit 6fc14b32 authored by Jean-Mael BOIS's avatar Jean-Mael BOIS
Browse files

Change fields visibility of anstract classes - Fix #29

parent 74945789
......@@ -141,34 +141,16 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
this.getProjectContainer().addTask(this);
}
/**
* Name.
*/
@Override
public abstract String getName();
@Override
public final void setName(final String n) {
this.name = n;
}
/**
* Priority.
*/
@Override
public abstract int getPriority();
@Override
public final void setPriority(final int p) {
this.priority = p;
}
/**
* Effort rate.
*/
@Override
public abstract int getEffortRate();
@Override
public final void setEffortRate(final int effort) {
this.effortRate = effort;
......@@ -244,6 +226,30 @@ public abstract class AbstractTask extends AbstractServerObject implements ITask
this.setContacts(contacts);
}
/**
* Name.
*/
@Override
public String getName() {
return name;
}
/**
* Effort rate.
*/
@Override
public int getEffortRate() {
return effortRate;
}
/**
* Priority.
*/
@Override
public int getPriority() {
return priority;
}
/**
* Progress.
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment