@Override
 public int hashCode() {
   final int prime = 31;
   int result = super.hashCode();
   result = prime * result + ((aggregatedPortlet == null) ? 0 : aggregatedPortlet.hashCode());
   result = prime * result + ((executionType == null) ? 0 : executionType.hashCode());
   return result;
 }
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (!super.equals(obj)) return false;
   if (!(obj instanceof PortletExecutionAggregation)) return false;
   PortletExecutionAggregation other = (PortletExecutionAggregation) obj;
   if (aggregatedPortlet == null) {
     if (other.getPortletMapping() != null) return false;
   } else if (!aggregatedPortlet.equals(other.getPortletMapping())) return false;
   if (executionType != other.getExecutionType()) return false;
   return true;
 }