private ResourceIndexEntry(String resourceName,String policyName){
  this.resourceName=resourceName;
  policyNames.add(policyName);
}

private ResourceIndexEntry ( String resourceName , String policyName ) { this . resourceName = resourceName ; policyNames . add ( policyName ) ; }
constructs a resource index entry
