git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/Common/authorization-common-library@131038 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e50087eb86
commit
b3980b06f1
|
@ -117,6 +117,12 @@ public class Service2ServicePolicy extends Policy{
|
|||
return lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Calendar lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setCreationTime(Calendar creationTime) {
|
||||
this.creationTime = creationTime;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -67,6 +67,16 @@ public class User2ServicePolicy extends Policy {
|
|||
return creationTime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setLastUpdateTime(Calendar lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setCreationTime(Calendar creationTime) {
|
||||
this.creationTime = creationTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
|
@ -108,10 +118,14 @@ public class User2ServicePolicy extends Policy {
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "User2ServicePolicy [id="+getId()+" entity=" + entity + ", context=" + context
|
||||
+ ", serviceAccess=" + serviceAccess + ", mode=" + mode + "]";
|
||||
return "User2ServicePolicy [entity=" + entity + ", context=" + context
|
||||
+ ", serviceAccess=" + serviceAccess + ", lastUpdateTime="
|
||||
+ lastUpdateTime + ", creationTime=" + creationTime + ", mode="
|
||||
+ mode + "]";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue