public StorageEntity createStorageEntity(String storageName,String storagePlatformCode,String attributeName,String attributeValue){
  List<Attribute> attributes=new ArrayList<>();
  attributes.add(new Attribute(attributeName,attributeValue));
  return createStorageEntity(storageName,storagePlatformCode,attributes);
}

public StorageEntity createStorageEntity ( String storageName , String storagePlatformCode , String attributeName , String attributeValue ) { List < Attribute > attributes = new ArrayList < > ( ) ; attributes . add ( new Attribute ( attributeName , attributeValue ) ) ; return createStorageEntity ( storageName , storagePlatformCode , attributes ) ; }
creates and persists a new storage entity with an attribute .
